package com.lgj.web.route.service;

import com.lgj.result.ResultBody;
import com.lgj.web.route.model.GatewayRoute;

/**
 * @author: guangjie.liao
 * @Date: 2022/10/28 18:26
 * @Description:
 */
public interface GateWayRouteService {

    ResultBody addRule(GatewayRoute gatewayRoute);

    ResultBody queryRule(String routeName,String serverId,Integer pageSize,Integer pageIndex);

    ResultBody getRule(Long routeId);

    ResultBody editRule(GatewayRoute gatewayRoute);

    ResultBody deleteRule(Long routeId);
}
